﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apex.Common.Base.ViewModels
{
    public class NamedTrackableObjectViewModel<T> : TrackableObjectViewModel<T>
        where T : NamedTrackableObject
    {
        public string Name
        {
            get { return Model.Name; }
            set { Model.Name = value; OnPropertyChanged("Name"); }
        }

        public string Group { get; set; }

        public NamedTrackableObjectViewModel()
        {

        }

        public NamedTrackableObjectViewModel(T model)
            : base(model)
        {

        }
    }
}
